//
//  MyBarChartDataSet2.swift
//  JunYiProject
//
//  Created by xiaogxjkz on 2021/6/11.
//

import UIKit
import Charts

/// 自定义 BarChartDataSet(以实现柱状图不同颜色设置)
class MyBarChartColorsDataSet: BarChartDataSet {
    
    init(entries: [ChartDataEntry]?,
         andColors _cs:[UIColor],
         label: String?) {
        super.init(entries: entries ?? [ChartDataEntry](), label: label ?? "")
    }
    
    required init() {
        fatalError("init() has not been implemented")
    }
    
}
